package com.gitee.dgwcode.action;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;

public class MyRequest implements ServletRequestAware{

	private HttpServletRequest request;
	
	@Override
	public void setServletRequest(HttpServletRequest request) {
		this.request=request;
	}
	
	public void  print() {
		System.out.println(request.toString());
	}
}
